import http from '/@/utils/http';

export const postDirectorList = async (params:any) => {
  return await http.post('/device/mobile/deviceDirector/getDirectorList', params)
}

export const addDirector = async (params:any) => {
  return await http.post('/device/mobile/deviceDirector/addDirector', params)
}

export const editDirector = async (params:any) => {
  return await http.put('/device/mobile/deviceDirector/editDirector', params)
}

export const deleteDirector = async (params:any) => {
  return await http.delete('/device/mobile/deviceDirector/deleteDirector', params)
}